﻿using System;
using System.Collections;

namespace ConsoleApp12
{
    class Program
    {
        static void Main(string[] args)
        {
            Stack stack = new Stack();
            stack.Push("赵云");
            stack.Push("关羽");
            stack.Push("马超");
            stack.Push("张飞");
            stack.Push("黄忠");
            Console.WriteLine("五虎上将：");
             while (stack.Count != 0)
            {
                Console.WriteLine(stack.Pop());
            }
        }
    }
}
